using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WMS.WebApiRead.DTO
{
    /// <summary>
    /// 产品信息查询结果DTO
    /// </summary>
    public class ProductInfoResultDTO
    {
        /// <summary>
        /// 产品ID
        /// </summary>
        public int ProductId { get; set; }

        /// <summary>
        /// 货品编号
        /// </summary>
        public string ProductCode { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string SpecificationModel { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }

        /// <summary>
        /// 进货单价
        /// </summary>
        public string InboundUnitPrice { get; set; }

        /// <summary>
        /// 当前库存
        /// </summary>
        public string CurrentInventory { get; set; }

        /// <summary>
        /// 仓库ID
        /// </summary>
        public int WarehouseId { get; set; }

        /// <summary>
        /// 仓库名称（联表查询得到）
        /// </summary>
        public string WarehouseName { get; set; }

        /// <summary>
        /// 是否已删除（逻辑删除标记）
        /// </summary>
        public bool IsDeleted { get; set; }

        /// <summary>
        /// 数据状态（1:草稿 2:已提交 3:审核中 4:已审核）
        /// </summary>
        public int DataStatus { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateName { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}

